update watch file
authorOsamu Aoki <osamu@debian.org>
Sat, 14 Sep 2013 14:35:33 +0000 (23:35 +0900)
committerOsamu Aoki <osamu@debian.org>
Sat, 14 Sep 2013 14:35:33 +0000 (23:35 +0900)
debian/watch

index 22e562e74627d89476e4b393f42411d71a52d4d8..b51ea81adda546ad618df32151301f7e276b7e28 100644 (file)
@@ -1,3 +1,4 @@
 version=3
-http://googlecode.debian.net/p/opencc/opencc-(\d+.*)\.tar\.gz
-
+opts=downloadurlmangle=s%.*name=(.*?)&.*%https://opencc\.googlecode\.com/files/$1%,filenamemangle=s/.*name=(.*?)&.*/$1/ \
+http://code.google.com/p/opencc/downloads/list?can=1&q= \
+.*name=opencc(?:-|\.|_|_v|)(\d\S*)\.(?:tar\.xz|txz|tar\.bz2|tbz2|tar\.gz|tgz)&\S*